Skip to content

Add FTA for memory/shared - Factory Resources - #1717

Open
cdemirsoy wants to merge 1 commit into
eclipse-score:mainfrom
cdemirsoy:cd_memory_shared_open_fta
Open

cdemirsoy wants to merge 1 commit into
eclipse-score:mainfrom
cdemirsoy:cd_memory_shared_open_fta

Conversation

@cdemirsoy

@cdemirsoy cdemirsoy commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

FMEA/FTA for factory_resources: SharedMemoryFactory (Create, Open, CreateOrOpen, Remove) and SharedMemoryResource. Failure modes, fault trees and root-cause assessments are wired into the build.

  • Failure modes: 18 failure modes (15 ASIL B, 3 QM), each with one fault tree and linked via interface to its public API methods.
    • They replace the previous SharedMemoryFactory failure modes and trees.
    • API methods without failure modes get a one-line justification.
  • Assessments: every root cause is assessed exactly once, reusing existing component requirements wherever they cover the cause.
    • The OffsetPtr bounds-checking assessment is commented out until the allocator_pointer fault trees are reworked.
  • AoUs:
    • New: AoU_RemoveWhileResourceHeld, RemoveOnlyViaSharedMemoryFactory, RestrictedWriteAccessToSharedMemoryObjects and MemoryResourceProxyBoundsCheckingNotDisabled.
    • Extended: AccessToSharedMemoryObjectsAlwaysViaLibrary now covers creation lock files.

@cdemirsoy
cdemirsoy force-pushed the cd_memory_shared_open_fta branch 4 times, most recently from 0070f9e to e52088e Compare December 1, 2026 10:04
@cdemirsoy cdemirsoy changed the title Add FTA for ShmOpen Add FTA for memory/shared Dec 1, 2026
@cdemirsoy

cdemirsoy commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author
  • SharedMemoryFactory
    • Common
      • SharedMemoryLockFileMechanismHandledIncorrectly
      • SharedMemoryBoundsMechanismHandledIncorrectly
    • Create
      • CreateAppliesWrongPermissions
      • CreateOverwritesExistingShmObject
      • CreateWithWrongPath
      • CreateShmObjectLossOfFunction
    • Open
      • OpenShmObjectOfNotAllowedProvider
      • OpenShmObjectWithWrongPath
      • OpenShmObjectWithWrongAccessMode
      • OpenShmObjectLossOfFunction
    • CreateOrOpen
      • CreateOrOpenExecutesInitializerIncorrectly
    • Remove
      • RemoveShmObjectWithWrongPath
      • RemoveShmObjectLossOfFunction
  • SharedMemoryResource
    • allocate
      • SharedMemoryResourceAllocatesAlreadyAllocatedMemory
      • SharedMemoryResourceAllocatesUnalignedMemory
      • SharedMemoryResourceAllocatesMemoryOutsideObject
      • SharedMemoryResourceFailsToAllocateAvailableMemory
    • deallocate
    • getPath
    • getOwnerUid
    • getMemoryResourceProxy
      - SharedMemoryResourceProvidesProxyOfOtherResource
    • UnlinkFilesystemEntry
    • IsInTypedMemory

@cdemirsoy
cdemirsoy force-pushed the cd_memory_shared_open_fta branch 5 times, most recently from 008e34e to 38f1a90 Compare December 2, 2026 19:52
@cdemirsoy
cdemirsoy marked this pull request as ready for review December 2, 2026 20:01
@cdemirsoy
cdemirsoy force-pushed the cd_memory_shared_open_fta branch from 38f1a90 to b21b182 Compare December 2, 2026 20:13
@cdemirsoy cdemirsoy changed the title Add FTA for memory/shared Add FTA for memory/shared - Factory Resources Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant